package com.zmn.brs.model.entity.blacklist;

import java.io.Serializable;

/**
 * 描述: 黑白名单，存入redis数据模型
 *
 * @author wangjie
 * @since 2019/8/9
 **/
public class BlacklistRedis implements Serializable {

    /**
     * 描述:redis Key
     *
     * @author wangjie
     * @since 2019/8/9
     **/
    private String key;

    /**
     * 描述: 散列 key
     *
     * @author wangjie
     * @since 2019/8/9
     **/
    private String hashKey;

    public BlacklistRedis() {
    }

    public BlacklistRedis(String key, String hashKey) {
        this.key = key;
        this.hashKey = hashKey;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getHashKey() {
        return hashKey;
    }

    public void setHashKey(String hashKey) {
        this.hashKey = hashKey;
    }

    @Override
    public String toString() {
        return "BlacklistRedis{" +
                "key='" + key + '\'' +
                ", hashKey='" + hashKey + '\'' +
                '}';
    }
}
